package com.ssy.lingxi.pay.model.vo.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.PositiveOrZero;
import java.io.Serializable;

/**
 * 更新会员授信VO
 * @author 伍将
 * @date 2020/8/14 16:44
 * @version 2.0.0
 */
public class CreditUpdateVO implements Serializable {
    private static final long serialVersionUID = 4998540778206887671L;

    /**
     * 授信id
     */
    @NotNull(message = "授信id要大于等于0")
    @PositiveOrZero(message = "授信id要大于等于0")
    private Long id;

    /**
     * 授信状态 3-正常 4-已冻结
     */
    private Integer status;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
